<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@include file="/WEB-INF/mytag.jspf"%>

<!DOCTYPE html>
<html>
<head>
<base href="<%=basePath%>">
<title>user</title>
<script type="text/javascript">
</script>
</head>
<body>
	<ol class="am-breadcrumb am-breadcrumb-slash am-padding" style="margin-bottom: 0px;">
		<li><a href="management/index">首页</a></li>
		<li><a href="management/vip/buyIndex">会员消费记录</a></li>
		<li class="am-active">详情</li>
	</ol>
	<div class="am-g">
		<div class="am-u-md-12">
				<div class="am-tabs am-margin">
					<ul class="am-tabs-nav am-nav am-nav-tabs">
						<li class="am-active"><a href="javascript:void(0)">会员烫发记录</a></li>
					</ul>
					<div class="am-tabs-bd">
						<div class="am-tab-panel am-active">
							<div class="am-g am-margin-top">
								<div class="am-u-md-2 am-text-right">照片</div>
								<div class="am-u-md-4 am-u-end">
									<c:if test="${empty t.photo }">
									<img id="imgId" src="file/a.png" class="am-form-field am-input-sm">
									</c:if>
									<c:if test="${!empty t.photo }">
										<img id="imgId" src="${t.photo }" class="am-form-field am-input-sm">
									</c:if>
								</div>
							</div>
							<div class="am-g am-margin-top">
								<div class="am-u-md-2 am-text-right">会员号</div>
								<div class="am-u-md-4 am-u-end">
									<input type="text" name="vipNo" id="vipNo" value="${t.vipNo}" class="am-form-field am-input-sm" readonly="readonly">
								</div>
							</div>
							<div class="am-g am-margin-top">
								<div class="am-u-md-2 am-text-right">姓名</div>
								<div class="am-u-md-4 am-u-end">
									<input type="text" name="name" id="name" value="${t.name }" class="am-form-field am-input-sm">
								</div>
							</div>
							<div class="am-g am-margin-top">
								<div class="am-u-md-2 am-text-right">性别</div>
								<div class="am-u-md-4 am-u-end">
									<input type="radio" name="sex" <c:if test="${t.sex eq 'M'}"> checked="checked" </c:if> value="M"> 男
									<input type="radio" name="sex" <c:if test="${t.sex eq 'F'}"> checked="checked" </c:if> value="F"> 女
								</div>
							</div>
							
							<div class="am-g am-margin-top">
								<div class="am-u-md-2 am-text-right">联系电话</div>
								<div class="am-u-md-4 am-u-end">
									<input type="text" name="phoneNo" id="phoneNo" value="${t.phoneNo }" class="am-form-field am-input-sm">
								</div>
							</div>
							<div class="am-g am-margin-top">
								<div class="am-u-md-2 am-text-right">操作人</div>
								<div class="am-u-md-4 am-u-end">
									<input type="text" name="idNo" id="idNo" value="${t.employeeName }" class="am-form-field am-input-sm">
								</div>
							</div>
							
							<div class="am-g am-margin-top">
								<div class="am-u-md-2 am-text-right">配方</div>
								<div class="am-u-md-4 am-u-end">
									<input type="text" name="formula" id="formula" value="${t.formula }" class="am-form-field am-input-sm">
								</div>
							</div>
							<div class="am-g am-margin-top">
								<div class="am-u-md-2 am-text-right">本次烫发时间</div>
								<div class="am-u-md-4 am-u-end">
									<input type="text" name="permDate" id="permDate" value="<fmt:formatDate value='${t.permDate}' type="date" pattern="yyyy-MM-dd HH:mm:ss"/>" class="am-form-field am-input-sm">
								</div>
							</div>
							<div class="am-g am-margin-top">
								<div class="am-u-md-2 am-text-right">建议下次烫发时间</div>
								<div class="am-u-md-4 am-u-end">
									<input type="text" name="suggestNextPermDate" id="suggestNextPermDate" value="<fmt:formatDate value='${t.suggestNextPermDate}' type="date" pattern="yyyy-MM-dd HH:mm:ss"/>" class="am-form-field am-input-sm">
								</div>
							</div>
						</div>
					</div>
				</div>
				<div class="am-margin">
					<a href="javascript:;" onClick="javascript:history.back(-1);" class="am-btn am-btn-primary am-btn-xs"><span class="am-icon-times"></span> 返回</a>
				</div>
			</form>
		</div>
	</div>
</body>
</html>
